Dynomotion

Group: DynoMotion Message: 1059 From: albertplatek Date: 4/26/2011
Subject: File acces from C
Hi Tom,

Is it possible to read/write file on disk?

#include "KMotionDef.h"
//#include "stdio.h" // - does stdio.h exist for Kmotion?
main()
{
FILE *fp;
fp = fopen ("file.txt", "w");
}

Regards
Albert PĀ³atek
Group: DynoMotion Message: 1060 From: Tom Kerekes Date: 4/26/2011
Subject: Re: File acces from C
Hi Albert,
 
No sorry only the functions in KMotionDef.h are available.  Obviously KFLOP doesn't have direct access to the disk.  We might be able to add some primitive disk write function in the future.  Currently you would need to write a PC program to upload the data and write it to a file.
 
Regards
TK